package io.renren.modules.sys.dao;

import io.renren.modules.sys.entity.CodeEntity;
import io.renren.modules.sys.entity.UserEntity;
import org.apache.ibatis.annotations.Mapper;

/**
 * 用户
 * 
 * @author wangyi
 * @email 794651397@qq.com
 * @date 2018-02-24 10:57:05
 */
@Mapper
public interface AppUserDao extends BaseDao<UserEntity> {
	UserEntity queryByMobile(String mobile);

    CodeEntity queryCodeByMobile(String mobile);

    int updateCode(CodeEntity codeEntity);

    int addCode(CodeEntity codeEntity);
}
